package com.otp.service;

import com.otp.pojo.entity.Message;
import com.otp.pojo.entity.Reply;
import com.otp.pojo.request.message.*;

import java.util.List;

public interface MessageService {
    List<Message> list();
    Message getById(Long id);
    Message create(MessageCreateRequest request);
    Message update(MessageUpdateRequest request);
    void delete(Long id);
    List<Reply> getReplies(Long messageId);
    Reply createReply(ReplyCreateRequest request);
    void deleteReply(Long replyId);
    List<Message> getNotifications(Long studentId);
    Message markAsRead(Long messageId);
}